package role;

import java.util.List;

public class Invitation {

	@Override
	public String toString() {
		return "Invitation [id=" + id + ", time=" + time + ", accepted=" + accepted + ", inviter=" + inviter
				+ ", invitee=" + invitee + "]";
	}

	public User getInviter() {
		return inviter;
	}

	public void setInviter(User inviter) {
		this.inviter = inviter;
	}

	public User getInvitee() {
		return invitee;
	}

	public void setInvitee(User invitee) {
		this.invitee = invitee;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public boolean isAccepted() {
		return accepted;
	}

	public void setAccepted(boolean accepted) {
		this.accepted = accepted;
	}

	private long id;
	private String time;
	private boolean accepted;
	private User inviter;
	private User invitee;
}
